﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UniRlv.COL
{
    public class PrintCode:BaseEntity
    {
        public string code { get; set; }
        public int PrintInfoID { get; set; }

        public override bool Equals(object obj)
        {
            if (obj != null && obj is PrintCode)
            {
                PrintCode objComp = obj as PrintCode;

                return objComp.code == this.code;
            }

            return false;
        }

        public override string ToString()
        {
            return code;
        }
    }
}
